import request from '@/utils/request'

// 查询报价转订单列表
export function listZcQuotationToOrder(query) {
  return request({
    url: '/sales/ZcQuotationToOrder/list',
    method: 'get',
    params: query
  })
}

// 查询报价转订单详细
export function getZcQuotationToOrder(id) {
  return request({
    url: '/sales/ZcQuotationToOrder/' + id,
    method: 'get'
  })
}

// 新增报价转订单
export function addZcQuotationToOrder(data) {
  return request({
    url: '/sales/ZcQuotationToOrder',
    method: 'post',
    data: data
  })
}

// 修改报价转订单
export function updateZcQuotationToOrder(data) {
  return request({
    url: '/sales/ZcQuotationToOrder',
    method: 'put',
    data: data
  })
}

// 删除报价转订单
export function delZcQuotationToOrder(id) {
  return request({
    url: '/sales/ZcQuotationToOrder/' + id,
    method: 'delete'
  })
}
